package com.sunyard.authorization.service;

import com.sunyard.authorization.bean.FetchToken;
import com.sunyard.dal.entity.Operator;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface MerchantOperatorService {
    void login(HttpServletResponse response,
               HttpServletRequest request,
               String loginName, String loginPwd) throws Exception;

    Operator getOperatorByOpName(FetchToken fetchToken);
}
